<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #div1{
            border:solid 0;
            overflow: hidden;
            width: 49px;
            height: 49px;
        }
        .sub1{
            border: dashed 0;
            width: 22px;
            height: 22px;
            text-align: center;
            font-size: 10px;
            color: #ccc;
        }
        .sub2{
            width: 0;
            height: 0;
            border: solid 13px;
            border-left-color: transparent;
            border-right-color: transparent;
            border-bottom-color: transparent;

        }
        select{
            width: 0;
            height: 0;
            border: solid 4px;
            border-left-color: transparent;
            border-right-color: transparent;
            border-bottom-color: transparent;
            position: relative;
            top:14px
        }

    </style>
</head>
<body>
    <div id="div1">
        <div class="sub1" style="float: left">上海
        </div>
        <div class="sub2" style="float: right"></div>
    </div>
    <div>
        <label>上海
            <select>
                <option value="xl" name="学历">学历</option>
                <option value="xl1" name="学历1">学历1</option>
            </select>
        </label>
    </div>

</body>
</html>